package com.design.pattern.facade;

public class FacadeTest {
    public static void main(String[] args) {
        Amplifier amplifier = new Amplifier();
        DvdPlayer dvdPlayer = new DvdPlayer();
        Screen screen = new Screen();

        HomeTheaterFacade homeTheaterFacade = new HomeTheaterFacade(amplifier, dvdPlayer, screen);
        homeTheaterFacade.watchMovie("雨人");
        homeTheaterFacade.endMovie();
    }
}